home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / doom / quake1.zip / IMPULIST.ZIP / IMPULIST.TXT < prev   
Text File  |  1996-08-13  |  2KB  |  46 lines

  1. Standard Issue Impulse Lister for Quake (IMPULIST)
  2. A Server Utility by TigerShark (aka SuperHero#1) (tigershark@shelby.net)
  3.                                                  email good till 8.15.96
  4. =========================================================================
  5.  
  6.     This nifty little hack is just a product of boredom and 5 minutes.
  7. I have heard people needing a lister for their Impulse Codes + a Message
  8. base for the large server games. Well.. here ya go. Since I've heard that
  9. you can't conduct file writes/reads in QuakeC (Truth,Rumor???) This is
  10. the easiest and FASTEST way... it only takes a few seconds to modify it.
  11.     What happens is when the Client pushes IMPULSE 255 (I usually make
  12. that one button 9 or 0) a list pops up on their screen and stays till they
  13. finish it and press IMPULSE 255 again to remove it.
  14.     I would advise only using up to 38 characters per line (\N = Enter or
  15. Next Line) because that is all that will fit on the lowest resolution
  16. display (Which SOME of us still use)
  17.  
  18. =========================================================================
  19.  
  20. 1) Just put this bit of code in the 'Impulse Commands' section of WEAPONS.QC
  21. (Yes, it will take the place of QuadCheat, but who uses that in DM??)
  22.  
  23.     if (self.impulse == 255)
  24.     centerprint(self, "----------------------------------------------\nSuperHero#1's IMPuLSe LiSTeR\n----------------------------------------------\n190 -- Spread Gun Selection\n191 -- Dog Rocket Selection\n----------------------------------------------\nAbove is a list of Currently Registered\nImpulse commands on this Server\n----------------------------------------------");
  25.  
  26. (Sorry that the line of code must be soooo long, but QuakeC won't accept
  27. <CR>'s in the middle of the strings)
  28.  
  29.  
  30. 2) Put This line in DEFS.QC right before the Comment //OTHER STUFF (near
  31. line #488)
  32.  
  33.     .float          impulist;
  34.  
  35.  
  36. 3) Bind a key (preferably 9 or 0) to "impulse 255" and you're ready to go!
  37.  
  38. =========================================================================
  39.  
  40. Now, that was the easy part. The Hard part is getting all the servers to
  41. begin using this system so I'll be able to jump in a game and get a list
  42. of Impulse Commands + a Message from the SysOp!!!
  43.  
  44.                 TigerShark (Aka SuperHero#1) (tigershark@shelby.net)
  45.  
  46.